<template>
	<view class="app">
		<view class="app-top">
			<image :src="`http://webfwjs.xlygrcw.com/web/img/98.png`" mode="widthFix"></image>
		</view>
		<view class="app-con"> 
			<view class="app-1">
				<view class="" @tap="onPage('/pages/beian/index')">
					<image :src="`http://webfwjs.xlygrcw.com/web/img/95.png`" mode="widthFix"></image>
					<view class="">
						<text>在线备案</text>
						<text>中介机构在线备案</text>
					</view>
				</view>
				<view class="" @tap="onPage('/pages/yinjianxiangmu/index')">
					<image :src="`http://webfwjs.xlygrcw.com/web/img/96.png`" mode="widthFix"></image>
					<view class="">
						<text>引荐项目</text>
						<text>为开发区引荐项目</text>
					</view>
				</view>
			</view>
			<scroll-view scroll-x="true" style="white-space: nowrap;">
				<view class="app-4">
					<view class="" :class="{'on':curIndex==0}" @tap="onTab(0)">
						中介机构    
					</view>
					<view class="" :class="{'on':curIndex==1}" @tap="onTab(1)">
						 引荐项目
					</view>
					<view class="" :class="{'on':curIndex==2}" @tap="onTab(2)">
						落地项目展示
					</view>
				
				</view>
			</scroll-view>
			<view class="app-5" v-if="curIndex==0">
				<view class="" v-if="list.length>0">
					<view class="list">
						<view v-for="(item,index) in list" :key="index" @tap="onSeeJG(item,0)">
							<view class="list-1">
								<image :src="`http://webfwjs.xlygrcw.com/web/img/97.png`" mode="widthFix"></image>
							</view>
							<view class="list-2">
								<text>中介机构</text>
								<text>专业机构 权威认证</text>
								<text>专注招商二十年只做招商一件事专连云港市三家企连云港市三家企业获批省级博士后创新实践基地业获批省级博士后创新实践基地</text>
							</view>
						</view>
					</view>
					<loading-text :loadingText='loadingText'></loading-text>
				</view>
				<view class="" v-else>
					<empt></empt>
				</view>
			</view>
			<view class="app-6" v-if="curIndex==1">
				<view class="" v-if="list.length>0">
					<view class="list">
						<view v-for="(item,index) in list" :key="index" @tap="onSeeJG(item,1)">
							<view class="list-1">
								<text>项目</text>
							</view>
							<view class="list-2">
								<view class="">
									<text>项目名称</text>
									<text>医药</text>
								</view>
								<text>投资金额： 500万</text>
								<text>专注招商二十年只做招商一件事专连云港市三家企连云港市三家企业获批省级博士后创新实践基地业获批省级博士后创新实践基地</text>
							</view>
						</view>
					</view>
					<loading-text :loadingText='loadingText'></loading-text>
				</view>
				<view class="" v-else>
					<empt></empt>
				</view>
			</view>
			<view class="app-6" v-if="curIndex==2">
				<view class="" v-if="list.length>0">
					<view class="list">
						<view v-for="(item,index) in list" :key="index" @tap="onSeeJG(item,1)">
							<view class="list-1">
								<text>项目</text>
							</view>
							<view class="list-2">
								<view class="">
									<text>项目名称</text>
									<text>医药</text>
								</view>
								<text>投资金额： 200万</text>
								<text>连云港市三家企连云港市三家企业获批省级博士后创新实践基地业获批省级博士后创新实践基地</text>
							</view>
						</view>
					</view>
					<loading-text :loadingText='loadingText'></loading-text>
				</view>
				<view class="" v-else>
					<empt></empt>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
export default {
	data() {
		return {
			curIndex: 0,
			list: [''],
			loadingText: '没有数据了',
		};
	},
	components: {},
	onLoad() {
		
	},
	methods: {
		onPage(url){
			uni.navigateTo({
				url:url
			})
		},
		onTab(ind){
			this.curIndex = ind
		},
		onSeeJG(param,type){
			if(type==0){
				uni.navigateTo({
					url:'/Atouzi/pages/zhongjie/jigouxq/index'
				})
			}
			else{
				uni.navigateTo({
					url:'/Atouzi/pages/zhongjie/yinjianxq/index'
				})
			}
			
		}
	}
};
</script>

<style lang="scss">
@import './index.scss'
</style>
